package com.lhq.service;

import com.lhq.entity.Perms;
import com.lhq.entity.User;

import java.util.List;

/**
 * @ClassName UserService
 * @Description:类描述
 * @Author Tedu
 * @Date 2021/7/18 16:58
 * @Version V1.0
 **/
public interface UserService {
    void register(User user0);
    User findByUserName(String userName);
    //根据用户名查询所有角色
    User findRolesByUsername(String username);

    List<Perms> findPermsByRoleId(String id);
}
